package cn.iocoder.yudao.module.strategyPlan.controller.admin.strategyPlan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 企业战略-计划 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class StrategyPlanBaseVO {

    @Schema(description = "编号", example = "9767")
    private Long id;

    @Schema(description = "组织id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5079")
    @NotNull(message = "组织id不能为空")
    private Long organizationId;

    @Schema(description = "战略id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3879")
    @NotNull(message = "战略id不能为空")
    private Long strategyId;

    @Schema(description = "战略计划名称", example = "战略计划名称")
    private String planName;

    @Schema(description = "战略计划目标")
    private String planTartget;

    @Schema(description = "战略计划描述", example = "战略计划描述")
    private String description;

    @Schema(description = "战略计划开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime startTime;

    @Schema(description = "战略计划结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime endTime;

    @Schema(description = "战略计划决策人")
    private Long decisionUser;

    @Schema(description = "备注", example = "备注")
    private String remark;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime createTime;

    @Schema(description = "更新者")
    private String updater;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime updateTime;

    @Schema(description = "是否删除（1删除，0未删除）")
    private Boolean deleted = false;

    @Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "租户编号不能为空")
    private Long tenantId;



    @Schema(description = "战略名称", example = "蓝海计划")
    private String strategyName;

    @Schema(description = "组织单位名称", example = "中建智采公司")
    private String organizationName;

    @Schema(description = "创建者姓名")
    private String creatorName;

    @Schema(description = "更新者姓名")
    private String updaterName;

    @Schema(description = "战略决策人姓名")
    private String decisionUserName;

}
